package com.union.core.complain.dao;

import java.util.List;

import com.union.core.complain.model.Complain;

public interface ComplainDao {

	public List<Complain> queryList(int complain_id,String complain_name,String complain_content,int organization_id,String organization_name,String join_date1,
			String join_date2,String complain_phone,String add_time,int ishandle,String paramName, String paramValue, String orderByName,int start,int pageSize);
	
	public int quertListCount(int complain_id,String complain_name,String complain_content,int organization_id,String organization_name,String join_date1,
			String join_date2,String complain_phone,String add_time,int ishandle,String paramName, String paramValue);
	
	public Complain query(int complain_id);
	
	public boolean add(Complain complain);
	
	public boolean edit(Complain complain);
	
	public Boolean delete(int complain_id);
}
